package dyyx;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Data {

	
	
	public static Map<String,Object> data(){
		
		Map<String,Object> context = new HashMap<String,Object>();
		context.put("name", "VELOCITY");
		
		String[] strList = {"abc","xyz"};
		context.put("strList", strList);
		
		List<Map<String,Object>> userList = new ArrayList<>();
		Map<String,Object> map = new HashMap<>();
		map.put("id", 1);
		map.put("name", "dyyx");
		userList.add(map);
		
		map = new HashMap<>();
		map.put("id", 2);
		map.put("name", "tiger");
		userList.add(map);
		
		context.put("userList", userList);
		
		return context;
		
	}
}
